home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compendium Deluxe 1
/
LSD Compendium Deluxe 1.iso
/
a
/
programming
/
assembly
/
mapsrc.lha
/
macros
/
cas3
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1980-02-19
|
221 b
|
11 lines
cas3: macro ;checks the range of a number: cas3 dn(1),dn(2),dn(d)
;if equal z bit set. dn(1) less than dn(2)
;d0 changed. if less (blo) high (bhi)
cmp.w \1,\3
blo .\@a
cmp.w \2,\3
bhi .\@a
clr.b d0
.\@a
endm